package application.view 
{
	import away3d.containers.ObjectContainer3D;
	import away3d.materials.BitmapMaterial;
	import away3d.primitives.Cube;
	import core.Size;
	
	/**
	 * ...
	 * @author Tiago Salomon
	 */
	public class HeroView extends ObjectContainer3D 
	{
		private var _cube :Cube;
		
		public function HeroView(name:String) 
		{	
			this._cube = new Cube(new BitmapMaterial(new crate()), Size.CUBE, Size.CUBE, Size.CUBE, 11, 7, 25, false);
			this._cube.name = name;
			this.addChild(_cube);				
		}
		
	}

}